﻿using DataBaseLayer.Abstractions.Interfaces.Services;

namespace DataBaseLayer.Services
{
	public class ServiceFactory
	{
		#region Properties

		public INewsService NewsService
		{
			get { return new NewsService(DataBase); }
		}

		public IGalleriesService GalleriesService
		{
			get { return new GalleriesService(DataBase); }
		}

		public IScheduleService ScheduleService
		{
			get { return new ScheduleService(DataBase); }
		}

		#endregion

		#region Internal Implementation

		private churchDataBase DataBase
		{
			get { return new churchDataBase(); }
		}

		#endregion
	}
}
